package logic;

import java.io.Serializable;

public class PlayRequest implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2122485640500346183L;
	public final static int STATE_SENT = 71;
	public final static int STATE_ACCEPTED = 72;
	public final static int STATE_REJECTED = 73;
	
	private String from;
	private String to;
	private int state;

	public PlayRequest(String from, String to) {
		this.from = from;
		this.to = to;
		this.state = STATE_SENT;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	
	
	
	
}

